package homework_bank;

import static org.junit.Assert.*;

import java.io.IOException;

import org.junit.Test;

public class UserAccountTest {
	UserAccount ua = new UserAccount();
	
	@Test
	public void testLogin() throws IOException {
		ua.login();
	}

	@Test
	public void testRegist() throws IOException {
		ua.regist();
	}

	@Test
	public void testSave() throws IOException {
		ua.save();
	}

	@Test
	public void testWithdraw() throws IOException {
		ua.withdraw();;
	}

	@Test
	public void testGetBalance() {
		ua.getBalance();
	}

	@Test
	public void testSaveRecord() throws IOException {
		ua.saveRecord();
	}

	@Test
	public void testWithdrawRecord() throws IOException {
		ua.withdrawRecord();
	}

	@Test
	public void testOperation() throws IOException, Exception {
		ua.operation();
	}

}
